﻿using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;

namespace Agile.Models
{
    /// <summary>
	/// 表单模型字段
	/// </summary>
    [Table("form_model_field")]
    [Description("表单模型字段")]
    public partial class FormModelField : Entity, ISoftDelete
    {
        /// <summary>
        /// 模型编号
        /// </summary>
        [Description("模型编号")]
        public string ModelId { get; set; }
        /// <summary>
        /// 字段中文
        /// </summary>
        [Description("字段中文")]
        public string Name { get; set; }
        /// <summary>
        /// 字段英文
        /// </summary>
        [Description("字段英文")]
        public string Field { get; set; }
        /// <summary>
        /// 字段类型
        /// </summary>
        [Description("字段类型")]
        public string FieldType { get; set; }
        /// <summary>
        /// 默认值
        /// </summary>
        [Description("默认值")]
        public string DefaultValue { get; set; }
        /// <summary>
        /// 配置JSON
        /// </summary>
        [Description("配置")]
        public string Setting { get; set; }
        /// <summary>
        /// 软删除
        /// </summary>
        [Description("软删除")]
        public virtual int IsDelete { get; set; }
       
    }
}